package com.qf.shardingjdbcdemo.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Course {

    @TableId(type = IdType.ASSIGN_ID)
    private Long cid;
    private String cname;
    @TableField("user_id")
    private Integer userId;

    private Integer cstatus;

}
